import { ProxyInfo } from './ProxyInfo.js'
import { ObserverPath } from './pathEvent.js'
/**
 * debugLogger
 */
export function debugLogger() {
  if (this && this._CONFIG.is_test) {
    console.info(...arguments)
  }
}
/**
 * event 页面加载完成后处理监控
 */
 export function event(callback) {
  if (document.readyState === 'complete') {
    callback();
  } else {
    window.addEventListener('load', callback);
  }
}


export default { debugLogger, event, ProxyInfo, ObserverPath }